package com.hl.springboot4.mapper;

import com.hl.springboot4.entity.Article;
import com.hl.springboot4.entity.ArticleType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

//@Mapper
public interface ArticleMapper {

    int insert(Article article);
    int delete(int id);
    int update(Article article);
    Article selectById(int id);
    List<Article> selectAll(Article article);



}
